<script>
	<#if result == true>
	top.layer.alert("连接成功", {icon: 1});
	<#else>
	top.layer.alert("连接失败", {icon: 3});
	</#if>
</script>